//
//  AppCell.m
//  BuyOfNoWane
//
//  Created by qianfeng02 on 15/7/3.
//  Copyright (c) 2015年 迷茫的尧尧. All rights reserved.
//

#import "AppCell.h"
#import "UIImageView+WebCache.h"

@implementation AppCell

- (void)awakeFromNib {
    self.article_pic.layer.masksToBounds = YES;
    self.article_pic.layer.cornerRadius = 8;
}
-(void)showDataWithModel:(AppModel *)model indexPath:(NSIndexPath *)indexPath
{
    [_article_pic sd_setImageWithURL:[NSURL URLWithString:model.article_pic] placeholderImage:nil];
    _article_mallLabel.text=model.article_mall;
    _article_format_dateLabel.text=model.article_format_date;
    _article_titleLabel.text=model.article_title;
    _article_titleLabel.numberOfLines=0;
    _article_priceLabel.text=model.article_price;
    _article_commentLabel.text=model.article_comment;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
